//
//  IManager+ServerControlReq.h
//  RocketProject
//
//  Created by chen jiedan on 13-9-29.
//  Copyright (c) 2013年 Rocket. All rights reserved.
//

#import "IManager.h"

typedef enum{
    PicState_Pass = 1,
    PicState_Fail = 2
}PicState;

typedef enum{
    CommentState_Pass = 1,
    CommentState_Fail = 2
}CommentState;

typedef enum{
    ImpressiveState_Pass = 1,
    ImpressiveState_Fail = 2
}ImpressiveState;


@protocol RCServerStateChangeProtocol <NSObject>

- (void) didStateChange:(BOOL)success withMsg:(NSString *)message;

@end



@interface IManager (ServerControlReq)

//图片审核
-(int64_t)requestUpdatePic:(NSString *)picID withState:(PicState)picState withDelegate:(id<IManagerDelegate>)delegate;
//评论审核
-(int64_t)requestUpdateComment:(NSString *)commentID withState:(CommentState)commentState withDelegate:(id<IManagerDelegate>)delegate;
//印象审核
-(int64_t)requestUpdateImpressive:(NSString *)impressiveID withState:(ImpressiveState)impressiveState withDelegate:(id<IManagerDelegate>)delegate;

@end
